﻿using System.ComponentModel.DataAnnotations.Schema;

namespace Md.Api.Entity.DapperModels.MdDB;
/// <summary>
/// 产品订单扩展字段
/// </summary>
public partial class MdProductOrderModel
{
    /// <summary>
    /// 产品名称
    /// </summary>
    [Column("product_title", TypeName = "custom")]
    public string? ProductTitle { get; set; }
    /// <summary>
    /// 产品描述
    /// </summary>
    [Column("product_description", TypeName = "custom")]
    public string? ProductDescription { get; set; }
    /// <summary>
    /// 产品库存
    /// </summary>
    [Column("product_quantity", TypeName = "custom")]
    public int ProductQuantity { get; set; }
    /// <summary>
    /// 产品市场价
    /// </summary>
    [Column("product_market_price", TypeName = "custom")]
    public string? ProductMarketPrice { get; set; }
    /// <summary>
    /// 产品销售价
    /// </summary>
    [Column("product_seliing_price", TypeName = "custom")]
    public string? ProductSeliingPrice { get; set; }
    /// <summary>
    /// 产品购买链接
    /// </summary>
    [Column("product_purchase_link", TypeName = "custom")]
    public string? ProductPurchaseLink { get; set; }
    /// <summary>
    /// 产品详情
    /// </summary>
    [Column("product_content", TypeName = "custom")]
    public string? ProductContent { get; set; }
    /// <summary>
    /// 体验说明
    /// </summary>
    [Column("product_illustrate", TypeName = "custom")]
    public string? ProductPicture { get; set; }
    /// <summary>
    /// 产品图片,多个英文逗号分隔
    /// </summary>
    [Column("product_picture", TypeName = "custom")]
    public string? ProductIllustrate { get; set; }
    /// <summary>
    /// 产品缩略图,多个英文逗号分隔
    /// </summary>
    [Column("product_thum_picture", TypeName = "custom")]
    public string? ProductThumPicture { get; set; }
    /// <summary>
    /// 产品类型（1新品 2往期 3体验）
    /// </summary>
    [Column("product_category", TypeName = "custom")]
    public string? ProductCategory { get; set; }
    /// <summary>
    /// 产品创建时间
    /// </summary>
    [Column("product_create_time", TypeName = "custom")]
    public DateTime? ProductCreateTime { get; set; }

    /// <summary>
    /// 用户邮箱
    /// </summary>
    [Column("user_email", TypeName = "custom")]
    public string? UserEmail { get; set; }
    /// <summary>
    /// 用户头像
    /// </summary>
    [Column("user_avatar", TypeName = "custom")]
    public string? UserAvatar { get; set; }
    /// <summary>
    /// 用户名
    /// </summary>
    [Column("user_name", TypeName = "custom")]
    public string? UserName { get; set; }
    /// <summary>
    /// 用户昵称
    /// </summary>
    [Column("user_nick", TypeName = "custom")]
    public string? UserNick { get; set; }
    /// <summary>
    /// 用户类型（00普通用户）
    /// </summary>
    [Column("user_type", TypeName = "custom")]
    public string? UserType { get; set; }
    /// <summary>
    /// 用户性别（0男 1女 2未知）
    /// </summary>
    [Column("user_sex", TypeName = "custom")]
    public string? UserSex { get; set; }
    /// <summary>
    /// 用户手机号
    /// </summary>
    [Column("user_phone", TypeName = "custom")]
    public string? UserPhone { get; set; }
    /// <summary>
    /// 状态（0正常 1停用）
    /// </summary>
    [Column("user_status", TypeName = "custom")]
    public string? UserStatus { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    [Column("user_create_time", TypeName = "custom")]
    public DateTime? UserCreateTime { get; set; }
    /// <summary>
    /// 积分
    /// </summary>
    [Column("user_integral", TypeName = "custom")]
    public string? UserIntegral { get; set; }
    /// <summary>
    /// 微信openId
    /// </summary>
    [Column("user_open_id", TypeName = "custom")]
    public string? UserOpenId { get; set; }

    /// <summary>
    /// 州
    /// </summary>
    [Column("address_state", TypeName = "custom")]
    public string? AddressState { get; set; }
    /// <summary>
    /// 城市
    /// </summary>
    [Column("address_city", TypeName = "custom")]
    public string? AddressCity { get; set; }
    /// <summary>
    /// 省
    /// </summary>
    [Column("address_province", TypeName = "custom")]
    public string? AddressProvince { get; set; }
    /// <summary>
    /// 地区
    /// </summary>
    [Column("address_region", TypeName = "custom")]
    public string? AddressRegion { get; set; }
    /// <summary>
    /// 国家
    /// </summary>
    [Column("address_country", TypeName = "custom")]
    public string? AddressCountry { get; set; }
    /// <summary>
    /// 邮政编码
    /// </summary>
    [Column("address_zip_code", TypeName = "custom")]
    public string? AddressZipCode { get; set; }
    /// <summary>
    /// 详细地址
    /// </summary>
    [Column("address_detail", TypeName = "custom")]
    public string? AddressDetail { get; set; }
    /// <summary>
    /// 收件人
    /// </summary>
    [Column("address_name", TypeName = "custom")]
    public string? AddressName { get; set; }
    /// <summary>
    /// 收件人邮箱
    /// </summary>
    [Column("address_email", TypeName = "custom")]
    public string? AddressEmail { get; set; }
    /// <summary>
    /// 收件人手机号
    /// </summary>
    [Column("address_phone", TypeName = "custom")]
    public string? AddressPhone { get; set; }
}

